import request from '@/utils/request'

// 仓库库存
export function storageProduct(query) {
  return request({
    url: '/erp_api/zhouyz/storageProduct/list',
    method: 'get',
    params: query
  })
}

// 库存详情
export function storageProductDetail(query) {
  return request({
    url: `/erp_api/zhouyz/storageProduct/${query.id}`,
    method: 'get'
  })
}

// 仓库可调拨商品
export function storageProductSelf(query) {
  return request({
    url: `/erp_api/zhouyz/storageProduct/list-self/${query.id}`,
    method: 'get'
  })
}